package com.distributeredis.redis_springboot.springbootinterceptor.springbootinterceptortest.service.impl;

import com.distributeredis.redis_springboot.springbootinterceptor.springbootinterceptortest.aop.MyTestAop;
import com.distributeredis.redis_springboot.springbootinterceptor.springbootinterceptortest.service.TestDogService;
import com.distributeredis.redis_springboot.springbootinterceptor.springbootinterceptortest.vo.TestDog;
import org.springframework.stereotype.Service;

@Service
public class TestDogServiceImpl implements TestDogService {
    @Override
    @MyTestAop(value = "aaa",isToRun = false)
    public TestDog test1(TestDog testDog) {
        return testDog;
    }

    @Override
    public TestDog test2(TestDog testDog) {
        return testDog;
    }

    @Override
    public TestDog test3(TestDog testDog) {
        return testDog;
    }
}
